<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/20
 * Time: 10:11
 */

namespace app\server;
use rap\db\DB;
use rap\db\Record;

class setScore extends Record
{
    public function getScoreInfo($where, $field) {

        $info = DB::select("mp_set_score")->where($where)->fields($field)->cache()->find();

        return $info;
    }
}